﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Services;

namespace Himp.Platform
{
    /// <summary>
    /// 机构管理
    /// </summary>
    public class OrganManager : DomainService
    {
        public const string DEFAULT_ADMIN_NAME = "admin";

        public Organ CreateOrganInfo(string organCodg, string organName, string adminTel
            , string adminEmail, string adminPwd)
        {
            return new Organ(organCodg, organName, adminTel
            , adminEmail, adminPwd, DEFAULT_ADMIN_NAME);
        }
    }
}
